package com.zy.service.impl;

import com.zy.dao.AddMarksDao;
import com.zy.dao.impl.AddMarksDaoImpl;
import com.zy.service.AddMarksService;

public class AddMarksServiceImpl implements AddMarksService {
    private AddMarksDao addMarksDao = new AddMarksDaoImpl();

    @Override
    public boolean addMark(String content, int userId) {
        return addMarksDao.insertMark(content, userId);
    }
}